export default (buttons, permission) => {
  if (!permission) { }
  const res = buttons.includes(permission)
  return res
}
